#ifndef _BUILDER_PLUGIN_CMN_H
#define _BUILDER_PLUGIN_CMN_H

#ifdef __cplusplus
extern "C"{
#endif

extern int PluginDvbSetFilter(unsigned int* phFilter, unsigned short u16Pid, unsigned char* pu8Data, unsigned char* pu8Mask, unsigned int u32Depth);
extern int PluginDvbReleaseFilter(unsigned int hFilter);
extern int PluginDvbTunerLock(builder_tuner_t* pstFreq);
extern int PluginDvbWriteNvm(unsigned char* pu8Data, unsigned int u32Len, unsigned int u32Offset);
extern int PluginDvbReadNvm(unsigned char* pu8Data, unsigned int u32Len, unsigned int u32Offset);
extern void PluginDvbLogcat(char *ps8Format, ...);
extern void* PluginDvbMemAlloc(unsigned int pu32Size);
extern void PluginDvbMemFree(void *pPointer);

#ifdef __cplusplus
}
#endif

#endif //_BUILDER_PLUGIN_CMN_H

